package com.eportal.dao;

import com.eportal.entity.FuncAgentEntity;
import com.framework.jqgrid.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FuncAgentEntityMapper extends MyMapper<FuncAgentEntity> {

    /**
     * 根据mainId和agtCode查询
     * @author Saber
     * @Date 2017/8/25 上午10:02
     * @param mainId        mainId
     * @param agtCode       合作方code
     * @return
     */
    List<FuncAgentEntity> getListByMainIdAndAgtCode(@Param("mainId") Long mainId, @Param("agtCode") String agtCode);
}
